Skip to content

No version of FFBO works with WSL #14

@sgarnell

Description

@sgarnell

I realize this was already said but I thought that at least after trying several times to install on WSL, both docker and full install, I would document things so that in the future, someone will address things:

  1. Docker on Windows will not work because Docker that version of Docker cannot communicate with the CUDA GPU.
  2. Docker run inside of WSL Ubuntu is somewhat better as it does communicate with the GPU. However, after installing all the pre-components on WSL (docker/Anaconda/CUDA Toolkit/CUDA Toolkit WSL additions), things pretty much end up in the same place. The following are some of the errors I encountered or things I did to mitigate errors:

Some things that helped:

  1. PIP update was critical
  2. For some reason, things improved after I installed Nodejs on WSL

Errors I recorded during WSL full install:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
eth-account 0.10.0 requires eth-abi>=4.0.0-b.2, but you have eth-abi 3.0.1 which is incompatible.
web3 6.13.0 requires eth-abi>=4.0.0, but you have eth-abi 3.0.1 which is incompatible.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
py-ecc 7.0.0 requires eth-typing>=3.0.0, but you have eth-typing 2.3.0 which is incompatible.
py-ecc 7.0.0 requires eth-utils>=2.0.0, but you have eth-utils 1.9.5 which is incompatible.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyopenssl 23.3.0 requires cryptography<42,>=41.0.5, but you have cryptography 40.0.2 which is incompatible.

npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Redundant dependency in your project.
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated @fortawesome/[email protected]: This package is deprecated. See https://git.io/fNCzJ for information about upgrading.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

Error within NLP Client:

NeuGFX-1::Untitled1.ipynb

FBLClient Initialization Registration Failed for Neu3D-1


FlyBrainLabNAserverException Traceback (most recent call last)
Cell In[5], line 6
4 if 'client-Neu3D-1-213adfd0-9cbe-44ec-9aa8-56120e82918f' not in fbl.client_manager.clients or fbl.client_manager.get_client('client-Neu3D-1-213adfd0-9cbe-44ec-9aa8-56120e82918f') is None:
5 _comm = fbl.MetaComm('client-Neu3D-1-213adfd0-9cbe-44ec-9aa8-56120e82918f', fbl)
----> 6 _client = fbl.Client(FFBOLabcomm=_comm,
7 user='guest',
8 secret='guestpass',
9 ssl=False,
10 debug=False,
11 authentication='True',
12 url=u'ws://localhost:8081/ws',
13 dataset='flycircuit',
14 realm=u'realm1',
15 ca_cert_file="isrgrootx1.pem",)
16 fbl.client_manager.add_client('client-Neu3D-1-213adfd0-9cbe-44ec-9aa8-56120e82918f', _client, client_widgets=['Neu3D-1-213adfd0-9cbe-44ec-9aa8-56120e82918f'])
17 else:

File ~/miniconda/envs/ffbo/lib/python3.9/site-packages/flybrainlab/Client.py:661, in Client.init(self, ssl, debug, authentication, user, secret, custom_salt, url, realm, ca_cert_file, intermediate_cert_file, FFBOLabcomm, FBLcomm, legacy, initialize_client, name, species, use_config, custom_config, widgets, dataset, log_level)
659 self.dataset = dataset
660 self.init_client(ssl, user, secret, custom_salt, url, self.ssl_con, legacy)
--> 661 self.findServerIDs(dataset) # Get current server IDs
662 self.connected = True

File ~/miniconda/envs/ffbo/lib/python3.9/site-packages/flybrainlab/Client.py:1371, in Client.findServerIDs(self, dataset)
1369 self.raise_error(FlyBrainLabVersionMismatchException(error_msg), error_msg)
1370 else:
-> 1371 raise FlyBrainLabNAserverException("NeuroArch Server with {} dataset cannot be found. Available dataset on the FFBO processor is the following:\n{}\n\nIf you are running the NeuroArch server locally, please check if the server is on and connected. If you are connecting to a public server, please contact server admin.".format(dataset, '\n- '.join(valid_datasets)))
1372 # print(
1373 # printHeader("FBL Client")
1374 # + "NA Server with {} dataset not found".format(dataset)
1375 # )
1376 if len(server_dict['nlp']):

FlyBrainLabNAserverException: NeuroArch Server with flycircuit dataset cannot be found. Available dataset on the FFBO processor is the following:

If you are running the NeuroArch server locally, please check if the server is on and connected. If you are connecting to a public server, please contact server admin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions