Skip to content

Conversation

@TomDLT
Copy link
Contributor

@TomDLT TomDLT commented Mar 25, 2022

Fixes #335 #360

In some machines (macos, colab), the install would put the filestore in a location of the form build/bdist.*/wheel/pycortex-*.data/data/share/pycortex/db, which seems to be deleted after the install. This PR fixes this issue by changing the default location.


Tested on my machine:

  • before: .../tomdlt/miniconda3/envs/py37/share/pycortex/db
  • after: .../tomdlt/miniconda3/envs/py37/share/pycortex/db

Tested on my machine, installing with --user:

  • before: .../tomdlt/.local/share/pycortex/db
  • after: .../tomdlt/.local/share/pycortex/db

Tested on Colab:

  • before: build/bdist.linux-x86_64/wheel/pycortex-1.2.3.data/data/share/pycortex/db
  • after: /usr/share/pycortex/db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileNotFoundError on mac

2 participants