I want to use python3.7.13 with anaconda.
From conda documentation
conda install python=3.7.13 should do the job however since all this is taking place at my corporation which is blocked with firewall I get following error:
An HTTP error occurred when trying to retrieve this URL. HTTP errors are ofrten intermittent, and a simple retry will get you on your way. ProxyError(....
I've re-tried multiple times but no luck. After some googling I found that there is a workaround -> from this SO
But it increase risk of attack which I cannot afford.
So I am trying to find out version of Anaconda that comes with python 3.7.13 therefore I could ask my service team to download Anaconda for me.
Related
The error has been resolved for now : for future purposes: I
installed the grpcio manually using pip which led me to an error
suggesting that I had a corrupted python framework, I uninstalled and
reinstalled python again and poetry.
This particular thread was helpful: https://gist.github.com/MuhsinFatih/ee0154199803babb449b5bb98d3475f7
My MacOS version : 13.0 Beta
I have been getting this error when I enter the command : PYTHONPATH=. poetry run python services/tokenkeep/src/app.py to run my backend service.
I get this pop up and there are a couple of popups like these that come repeatedly with different file names such as this:
“cimmutabledict.cpython-39-darwin.so” cannot be opened because the
developer cannot be verified.
If I move it to bin or cancel the pop ups I get a traceback which gives me an import error :
ImportError:
dlopen(/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so,
0x0002): tried:
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(code signature in <2ED718E3-F901-35F5-968B-F85967D9BE12>
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
not valid for use in process: library load disallowed by system
policy),
'/System/Volumes/Preboot/Cryptexes/OS/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(no such file),
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
(code signature in <2ED718E3-F901-35F5-968B-F85967D9BE12>
'/Users/khawajajunaid/Desktop/backend-python/.venv/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-darwin.so'
not valid for use in process: library load disallowed by system
policy)
I have tried installing poetry again, updating the packages and deleting my local repo and pulling the repo again, setting up the virtual environment but nothing has bore me fruit.
It was working fine with the same setup and messed up after I ran poetry install since I couldn't see my lock file in the service directory, would really appreciate some help, its been holding up my whole service.
I was cleaning out my laptop and somehow screwed up my Python installation. Now I'm getting an error that I can't even find the answer to in Google (I usually copy and paste the error msg as a Google search and it usually leads me to an answer on here or other sites). This is the error msg verbatim: Fatal error in launcher: Unable to create process using '"C:\Python310\python.exe" "C:\Python310\Scripts\pip.exe" install Flask': The system cannot find the file specified.
I just reinstalled Python 3.10 via the installer from the Python site (so as not to screw up with Linux install since it likes to auto install 2.7 for some reason)
Any help would be greatly appreciated as always
I'm trying to update Anaconda using conda update --all.
I receive the following warning:
Warning: 2 possible package resolutions (only showing differing packages):
- anaconda::navigator-updater-0.2.1-py36_0
- defaults::navigator-updater-0.2.1-py36done
Then it begins:
## Package Plan ##
environment location: /Users/me/anaconda3
...Followed by all sorts of good things. The transaction is then prepared, verified and executed, after which I get the following errors:
ERROR conda.core.link:_execute(700): An error occurred while uninstalling package 'https://repo.continuum.io/pkgs/main/osx-64/xlrd-1.1.0-py36h336f4a2_1.tar.bz2::xlrd-1.1.0-py36h336f4a2_1'.
Rolling back transaction: done
[Errno 13] Permission denied: '/Users/me/anaconda3/lib/python3.6/site-packages/xlrd/__init__.py' -> '/Users/me/anaconda3/lib/python3.6/site-packages/xlrd/__init__.py.c~'
()
Being the newer coder that I am, I have no idea about the environment or what it takes to update this beyond monkey-typing in what I've been told to do. What the heck do these mean and how do I solve them? I would imagine that updating would be simple, as it is going back to the folder that it came from, so why is it saying there there is an Error 13 which, as my research seems to indicate, is an admin privileges issue? (I am admin on my machine, using a Mac with interactive shell zsh.)
So it seems like the version of conda that you are using was prone to these errors. Searching it up brings up a multitude of similar errors and the common solution is to always update conda, just like you tried.
From #soapy1 comment from here, states that:
Looks like this is fixed on master, it should be resolved in the next release of conda
My advice would be, if possible, uninstall and install anaconda. This will install with the latest packages and the error shouldn't persist. You should follow the documentation on doing this safely.
I'll start off with saying I read this post already and could not find an answer.
I am on Windows 10, and have been trying to install pipenv through powershell.
Only, it returns me the following error:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
So I then downloaded ssl-1.16 from this website, but then ran into another error:
ValueError: This extension should not be used with Python 2.6 or later (already built in), and has not been tested with Python 2.3.4 or earlier.
I checked a few forums and still cannot seem to find an answer. So if anyone would know how to come to terms with that, I'd be truly grateful. :)
Thanks
I have spent a week searching and trying different solutions with no luck. I've seen several others having the same problems going back over a year.
The issue:
Windows 10 Pro build 15063.674
I'm using the latest Anaconda 5 build with Python 3.6.2 and all the packages are updated to most recent.
Running Jupyter Notebook, after some time, python will crash with a dialog "python has stopped working". This seems to happen after the notebook has been open for awhile, but I haven't been able to pinpoint an exact time. It's longer than 15 minutes but I've had it crash after a couple hours too.
The crash happens whether or not the notebook is in use, but most of the time, it's been while it's idle.
The console contains several lines like this:
Assertion failed: Connection reset by peer (bundled\zeromq\src\signaler.cpp:298)
I had been using everything with no issues, on a daily basis for months prior to this. I honestly have no idea what could have changed other than Windows Automatic updates.
What I've tried:
updating anaconda
updating all packages
updating python
full clean removal then reinstall of anaconda, python, and all packages
updating everything again
removing pyzmq and Jupyter then reinstalling
disabling Windows Defender
attempted to revert pyzmq on a long shot to 13.1.0 but the build failed
I've also tried using both conda and pip for installing/removing
Threads I've read:
https://github.com/zeromq/libzmq/issues/1808
https://github.com/ipython/ipython/issues/9975
https://github.com/ipython/ipython/issues/9236
https://github.com/zeromq/libzmq/issues/1108
https://github.com/zeromq/libzmq/issues/1573
Why python raised an AssertionError on some failed assumption in a ZeroMQ client?
Python.exe crashes while running Jupyter notebook sever
Why Does Jupyter Notebook Crashes?
Any suggestions on fixing this?
From the first issue thread you linked, it looks like this issue is with ZeroMQ, with little hope for resolution. One poster (UniversalAE) in that thread seemed to have success with replacing ZeroMQ with RabbitMQ. Absent an update to ZeroMQ that resolves this, or any specific requirement for ZeroMQ, I would advise doing the same, i.e. swap out ZeroMQ for RabbitMQ.
The solution was to uninstall a program called Networx.
I don't understand the error myself but the person I got the solution from linked this post: https://github.com/Microsoft/WSL/issues/1554#issuecomment-339743927